package edu.mju.eduorder.client;

import edu.mju.commonutils.orderVo.UserMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: wyp
 * @Date: 2020/10/5 22:35
 */
@Component
@FeignClient("service-user")
public interface UserClient {
    /**
     * 用户订单
     * 根据用户id获取用户信息
     *
     */
    @PostMapping("/eduUser/study-member/getUserInfoOrder/{id}")
    public UserMemberOrder getUserInfoOrder(@PathVariable("id") String id);
}
